package com.Darkra1Zzz.entity;

import java.util.List;

/**
 * @Author DarkraiZzz
 * @Time 2021/6/28 21:16
 * @Version 1.0
 */
public class Album {
    private int id;//专辑id
    private String name;//专辑姓名
    private String date;//专辑上架日期
    private Singer singer;//专辑歌手
    private String imageurl;//专辑图片
    private int playcount;
    private Type type;
    private int sumsong;//歌曲数量
    private int price;//专辑价格
    private String albuminfo;//专辑介绍
    private List<Song> songList;

    @Override
    public String toString() {
        return "Album{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", date='" + date + '\'' +
                ", singer=" + singer +
                ", imageurl='" + imageurl + '\'' +
                ", playcount=" + playcount +
                ", type=" + type +
                ", sumsong=" + sumsong +
                ", price=" + price +
                ", albuminfo='" + albuminfo + '\'' +
                ", songList=" + songList +
                '}';
    }

    public String getAlbuminfo() {
        return albuminfo;
    }

    public void setAlbuminfo(String albuminfo) {
        this.albuminfo = albuminfo;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public List<Song> getSongList() {
        return songList;
    }

    public void setSongList(List<Song> songList) {
        this.songList = songList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Singer getSinger() {
        return singer;
    }

    public void setSinger(Singer singer) {
        this.singer = singer;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public int getPlaycount() {
        return playcount;
    }

    public void setPlaycount(int playcount) {
        this.playcount = playcount;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public int getSumsong() {
        return sumsong;
    }

    public void setSumsong(int sumsong) {
        this.sumsong = sumsong;
    }
}